<%@ page language="java" import="java.util.*,jsonUtil.*"
	pageEncoding="utf-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>高级检索界面</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<script type="text/javascript" src="../js/AdvancedSearchUtil.js"
	charset="utf-8"></script>
<body>
	<font color="red">高级检索</font>
	<form id="form" method="post">
		<table id="tab">
			<tr>
				<td>输入内容检索条件：</td>
				<td><input type="hidden" id="totals" name="totals" value="123"></input>
				</td>
			<tr>
			<tr>
				<td><input type="button" id="target" value="+"
					onclick="addRow()" /> <input type="button" id="target" value="-"
					onclick="deleteRow()" /></td>
				<td>(</td>
				<td><select id="theme2" name="theme2" style="width: 100px;">
						<option value='content'selected'>主题</option>
						<option value='title'>篇名</option>
						<option value='keywords'>关键词</option>
						<option value='summary'>摘要</option>
						<option value='content'>全文</option>
				</select></td>
				<td><input type="text" name="key21" id="key21" /></td>
				<td><select id="relation2" name="relation2"
					style="width: 60px;">
						<option value='#CNKI_AND' selected=''>并含</option>
						<option value='#CNKI_OR'>或含</option>
						<option value='#CNKI_NOT'>不含</option>
				</select></td>
				<td><input type="text" name="key22" id="key22" /></td>
				<td><select id="special2" name="special2">
						<option value='%'>模糊</option>
						<option value='=' selected=''>精确</option>
				</select></td>
				<td>)</td>
			</tr>
		</table>
		<table id="tab1">
			<tr>
				<td>输入检索控制条件：</td>
			</tr>
			<tr>
				<td>发表时间：</td>
				<td>从</td>
				<td><select id="year21">
						<script language="JavaScript">
							for (var i = 1970; i <= 2016; i++)
								document.write("<option value'"+i+"'>" + i
										+ "年" + "</option>");
						</script>
				</select></td>
				<td>到</td>
				<td><select id="year22">
						<option value="2016" selected>2016年</option>
						<script language="JavaScript">
							for (var i = 2015; i >= 1970; i--)
								document.write("<option value'"+i+"'>" + i
										+ "年" + "</option>");
						</script>
				</select></td>
			</tr>
			<tr>
				<td>文献来源：</td>
				<td><input type="text name=" docRes" id="docRes" /></td>
				<td><select name="special_3" id="special_3">
						<option value='精确'>精确</option>
						<option value='模糊'>模糊</option>
				</select></td>
			</tr>
			<tr>
				<td>支持基金：</td>
				<td><input type="text" name="fund" id="fund" /></td>
				<td><select name="special_4" id="special_4">
						<option value='精确'>精确</option>
						<option value='模糊'>模糊</option>
				</select></td>
			</tr>
			<tr>
				<td><input type="button" id="target1" value="+"
					onclick="addRow1()" /> <input type="button" id="target1" value="-"
					onclick="deleteRow1()" /></td>
				<td><select name="authorS5" id="authorS5">
						<option value='author'>作者</option>
						<option value='author'>第一作者</option>
				</select></td>
				<td><input type="text" name="author5" id="author5" /></td>
				<td><select name="special_51" id="special_51">
						<option value='精确'>精确</option>
						<option value='模糊'>模糊</option>
				</select></td>
				<td>作者单位：</td>
				<td><input type="text" name="AU5" id="AU5" /></td>
				<td><select name="special_52" id="special_52">
						<option value='精确'>精确</option>
						<option value='模糊'>模糊</option>
				</select></td>
			</tr>
			<tr>
				<td align="right" colspan="8"><input type="submit" value="检索"
					onclick="setJson()" /></td>
			</tr>
		</table>
	</form>
	
</body>
<html>